    <script type="text/javascript" src="${base}/scripts/tool/pinyin.js"></script>
<script type="text/javascript" src="${base}/scripts/sfgl/fksh_sh_pj.js"></script>
<form id="form_fksh_sh" method="post">
    <#--<input id="fksh_search_id" name="fksh.id" type="hidden" value="${(fksh.id)!''}"/>-->
    <input id="pj_ids" name="pjIds" type="hidden" value=""/>
    <input id="skf_fk_id" name="fksh.id" type="hidden" value="${(fksh.id)!''}"/>
    <input id="skf_gs_id" name="fksh.sbgs.id" type="hidden" value="${(fksh.sbgs.id)!''}"/>
    <table style="width:100%" class="tb tab-t">
        <col width="20%"/>
        <col width="23%"/>
        <col width="22.5%"/>
        <col width="34.5%"/>
        <tr>
            <th>客户名称：</th>
            <td>
                <input name="fksh.gldw.qc" readonly="readonly" value="${fksh.gldw.qc}" class="input-text"/>
            </td>
            <th>付款类型：</th>
            <td>
            <#if fksh.kxlx==1>
                <input name="fksh.kxlx" type="hidden" class="input-text" value="0"/>
                <input readonly="readonly" class="input-text" value="预付款"/>
            </#if>
            <#if fksh.kxlx==2>
                <input name="fksh.kxlx" type="hidden" class="input-text" value="1"/>
                <input readonly="readonly" class="input-text" value="应付款"/>
            </#if>
            <#if fksh.kxlx==3>
                <input name="fksh.kxlx" type="hidden" class="input-text" value="0"/>
                <input readonly="readonly" class="input-text" value="预收款"/>
            </#if>
            <#if fksh.kxlx==4>
                <input name="fksh.kxlx" type="hidden" class="input-text" value="1"/>
                <input readonly="readonly" class="input-text" value="应收款"/>
            </#if>
            </td>
        </tr>
        <tr>
            <th>付款金额：</th>
            <td>
                <input id="fksh_sfje" name="fksh.sfje" class="input-text" readonly="readonly" type="text"
                       value="${(fksh.sfje)!''}"/>
            </td>
            <th>票据类型：</th>
            <td>
                <input name="fksh.pjlx.z" class="input-text" type="text" required="true" value="${(fksh.pjlx.z)!''}"/>
            </td>
        </tr>
        <tr>
            <th>公司名称：</th>
            <td>
                <input name="fksh.sbgs.jc" class="input-text" type="text" required="true" value="${(fksh.sbgs.jc)!''}"/>
            </td>
            <th>部门名称：</th>
            <td>
                <input name="fksh.sbbm.jc" class="input-text" type="text" required="true" value="${(fksh.sbbm.jc)!''}"/>
            </td>
        </tr>
        <tr>
            <th>申请人：</th>
            <td>
                <input name="fksh.sbr.xm" class="input-text" type="text" required="true" value="${(fksh.sbr.xm)!''}"/>
            </td>
            <th>制单人：</th>
            <td>
                <input name="fksh.createUser.xm" class="input-text" type="text" required="true"
                       value="${(fksh.createUser.xm)!''}"/>
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <div id="pj_tool" style="height:auto;">
                    <ul class="niu">
                        <li><a href="javascript:void(0)" id="btn_pj_search" plain="true">添加票据</a></li>
                        <li><a href="javascript:void(0)" id="btn_pj_del" class="del" plain="true">删除票据</a></li>
                        </li>
                    </ul>
                </div>
            </td>
        </tr>
        <tr>
            <table id="fksh_pj_grid"></table>
        </tr>
    </table>
</form>

